<h1>Listing part_configurations</h1>

<table>
  <tr>
  	<th>CartID</th>
    <th>Part</th>
    <th>Parts group</th>
    <th>Part name</th>
    <th>Is used</th>
    <th>Is original</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @part_configurations.each do |part_configuration| %>
  <tr>
  	<td><%= part_configuration.cart_id %></td>
    <td><%= part_configuration.part_id %></td>
    <td><%= part_configuration.parts_group_id %></td>
    <td><%= part_configuration.part_name %></td>
    <td><%= link_to 'Show', part_configuration %></td>
    <td><%= link_to 'Edit', edit_part_configuration_path(part_configuration) %></td>
    <td><%= link_to 'Destroy', part_configuration, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Part configuration', new_part_configuration_path %>
